<template>
  <div>
    
    <navbar />
    <router-view />
    <Tarnav v-show="this.$route.meta.isShownavbar"/>
  </div>
</template>


<script>
import navbar from "./components/navbar";
import Tarnav from "./components/Tarnav";


export default {
  components: {
    navbar,
    Tarnav,
  },
  methods: {},
  // watch: {
  //   $route: {
  //     handler(newval, oldval) {
  //       if (newval.path == "/login") {
  //         this.show = false;
  //       } else {
  //         this.show = true;
  //       }
  //     },
  //   },
  // },
};
</script>


<style lang="scss" scoped>
* {
  margin: 0;
  padding: 0;
  font-size: 0.4rem;
}
</style>
